<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
package ${basepackage}.mapper;

import ${basepackage}.model.${className};
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

<#include "/java_imports.include">

@Mapper
public interface ${className}Mapper  {
	
	 void insertSelective(${className} ${classNameLower});
	
	 void updateSelective(${className} ${classNameLower});
	
	 void deleteByPrimaryKey(String key);
	
	 ${className} queryByPrimaryKey(String key);
	
	 List<${className}> queryByCondition(${className} ${classNameLower});
	
}
